﻿#region Styx Namespaces
using Styx;
using Styx.CommonBot.Routines;
#endregion

namespace GiwinMonk
{
    public partial class Monk : CombatRoutine
    {

        /// <summary>
        /// Cost: 2 Chi |
        /// Range: 30 Yards |
        /// Cast Time: 8 Second |
        /// GCD: 1 Second |
        /// WoWHead Hyperlink: http://www.wowhead.com/spell=130651
        /// </summary>

        public bool ChiWave()
        {
            return //(MIRsettings.Instance.ChiBurst) && 
                (StyxWoW.Me.CurrentTarget != null) &&
                StyxWoW.Me.CurrentTarget.Distance <= 40 &&
                StyxWoW.Me.CurrentChi >= 2 &&
                !StyxWoW.Me.CurrentTarget.IsWithinMeleeRange &&
                StyxWoW.Me.HealthPercent < 90 &&
                CanCast("Chi Wave");
        }
    }
}
